package com.youhome.service;

import com.github.pagehelper.PageInfo;
import com.youhome.model.CounselorRecommendHouse;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * Created by chen365 on 2018/09/17.
 * 顾问向客户推荐房源记录
 */
public interface CounselorRecommendHouseService {
    int deleteByPrimaryKey(Long id);

    int deleteByBean(CounselorRecommendHouse record);

    int insert(CounselorRecommendHouse record);

    int insertSelective(CounselorRecommendHouse record);

    CounselorRecommendHouse selectByPrimaryKey(Long id);

    PageInfo<CounselorRecommendHouse> selectByBean(Integer pageNumber, Integer pageSize, CounselorRecommendHouse record);

    int updateByPrimaryKeySelective(CounselorRecommendHouse record);

    int updateByPrimaryKey(CounselorRecommendHouse record);

    boolean selectExistsByBean(CounselorRecommendHouse record);
}
